package cn.sofwin.dubbo.service;

import cn.sowfin.dubbo.service.GoodsService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

import java.util.Arrays;
import java.util.List;
@Service
@Component
public class GoodsServiceImpl implements GoodsService {
    @Override
    public List<String> goodsList() {
        return Arrays.asList("香蕉","苹果","橘子");
    }
}
